package com.niuwa.p2p.entity.promotion;

import java.math.BigDecimal;
import java.util.Date;

import com.niuwa.p2p.entity.gift.PromotionGiftinfo;

public class PromotionGift {
    private Integer id;

    private String promotionId;

    private String giftId;

    private Byte type;

    private BigDecimal amount;

    private Date createTime;

    private String creator;
    
    private PromotionGiftinfo promotionGiftinfo;

    public PromotionGiftinfo getPromotionGiftinfo() {
		return promotionGiftinfo;
	}

	public void setPromotionGiftinfo(PromotionGiftinfo promotionGiftinfo) {
		this.promotionGiftinfo = promotionGiftinfo;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(String promotionId) {
        this.promotionId = promotionId == null ? null : promotionId.trim();
    }

    public String getGiftId() {
        return giftId;
    }

    public void setGiftId(String giftId) {
        this.giftId = giftId == null ? null : giftId.trim();
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }
}